package com.example.demo.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class ReservationVo {
    private long id;
    private String name;
    private String e_mail;
    private String phone;
    @DateTimeFormat(pattern = "MM/dd/yyyy")
    private Date time;
    private State stateid;
}
